//
//  AppDelegate.m
//  LMLabelSelect
//
//  Created by LM on 2022/11/4.
//

#import "AppDelegate.h"
#import "ViewController.h"
#import "UIViewOverLay.h"
#ifdef DEBUG
#import <DoraemonKit/DoraemonManager.h>
#endif
@interface AppDelegate ()
@end

@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    
    
#ifdef DEBUG
   [[DoraemonManager shareInstance] installWithPid:@"eb093d68745604c836d6f44444e3b0ca"];//productId为在“平台端操作指南”中申请的产品id
   #endif
    
    
    
    self.window = [[UIWindow alloc]initWithFrame:[UIScreen mainScreen].bounds];
    ViewController *vc = [[ViewController alloc]init];
    self.window.rootViewController = vc;
    
//    UIViewOverLay *overlay = [[UIViewOverLay alloc]initWithFrame:self.window.bounds];
//
//    overlay.translatesAutoresizingMaskIntoConstraints = false;
//
//    overlay.backgroundColor = [UIColor lightGrayColor];
//
//    overlay.layer.compositingFilter = @"saturationBlendMode";


    [self.window makeKeyAndVisible];
    
    
    
//    [self.window addSubview:overlay];

    return YES;
}
@end
